<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title>图片文件管理</title>
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/theme.css">
<link rel="stylesheet"
	href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
	type="text/javascript"></script>

</head>

<body class="content1">
	<div class="header">
		<h1 class="page-title">图片文件管理</h1>
	</div>
	<ul class="breadcrumb">
		<li><a href="<%=basePath%>showindex" target="_parent">Home</a> <span class="divider">/</span>
		</li>
		<li class="active">图片文件列表</li>
	</ul>
	<div class="container-fluid">
		<div class="row-fluid">

			<div class="well">
				<table class="table">
				<tr>
							<td colspan="4"><span style="color:red;">${message }</span></td>
						</tr>
					
					
					<tbody>
						<c:forEach items="${allimagefile}" var="item">
							<tr>
								<td>name</td>
								<td>${item.name}</td>
								<td>saveurl</td>
								<td>${item.saveurl }</td>
								</tr>
								<tr><td>newname</td>
								<td>${item.newname }</td>
								<td>option</td>
								<td><a href="<%=basePath %>image/delete?theid=${item.id }">删除</a>
								</td>
								

							</tr>
						</c:forEach>
					</tbody>
				</table>

			</div>
		</div>
	</div>
</body>
</html>
